// 首先引入vue
import Vue from 'vue'
// 引入 vuex 状态管理模式
import Vuex from 'vuex'
// 引入App.vue文件
import App from './App'
// 引入路由配置
import router from './router'
//导入swiper
import Swiper from 'swiper'
import 'swiper/dist/css/swiper.min.css'
// chart.js
// import Chart from 'chart.js'

// import VueResource from 'vue-resource'

Vue.config.productionTip = false

Vue.use(Vuex)

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

import _ from 'lodash'
Vue.prototype._=_

import echarts from 'echarts'
Vue.prototype.$echarts = echarts


import "./filter"

// menu config list
import menuConfig from "./config/menuConfig.js"
Vue.prototype.$menu = menuConfig

//ajax uri list
import uri from "./api/uri/uri.js"
Vue.prototype.$http = uri
// Vue.use(VueResource)
// md5加密
import md5 from 'js-md5';

//引入 VueClipboards
import VueClipboards from "vue-clipboard2"
Vue.use(VueClipboards)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
